<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">

			var Book = {name:'我问问'}
			//var name = '111';
			console.log(name);
			Object.defineProperty(Book, 'name', {
			  set: function (value) {
			    this.name=value;
				//name = value;
			    console.log('你取了一个书名叫做' + value);
			  },
			  get: function () {
			    return ;
			  }
			})
			 
			//Book.name = 'vue权威指南';  // 你取了一个书名叫做vue权威指南
			//console.log(Book.name);  // 《vue权威指南》
			
		</script>
	</body>
</html>
